# -*- coding: utf-8 -*-
import configparser

from fly2018.misc_conf import *
from fly2018.db_conf import *
from fly2018.logging_conf import *
from fly2018.celery_conf import *

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

SECRET_KEY='c806ab8b7a6191712063e7aac0bf5186'

# JWT SECRET
JWT_SECRET='SGVsbG8gV29ybGQK'

main_cf = configparser.ConfigParser()
main_cf.read(BASE_DIR + '/../conf/main.ini')
DEBUG = main_cf.getboolean('main', 'debug')
SESSION_COOKIE_DOMAIN = main_cf.get('main', 'session_cookie_domain')


ALLOWED_HOSTS = ['*']

# Application definition

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'fly2018',
    "apps",
    'django_apscheduler',
)




